package com.wy2.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.wy2.util.PoiHandler;

@Entity
@Table(name="clock")
public class Clock {
	@Id
	@PoiHandler(excelHeader="签到编号",excelIgnore=true)
	private Integer cid;//编号
	@PoiHandler(excelHeader="员工编号")
	private String uid;//员工编号
	@PoiHandler(excelHeader="员工姓名")
	private String uname;//员工姓名
	@PoiHandler(excelHeader="签到状态")
	private String cstatus;//签到状态
	@PoiHandler(excelHeader="签到时间")
	private String checkintime;//上班时间
	@PoiHandler(excelHeader="签退时间")
	private String checkoutime;//下班时间
	@PoiHandler(excelHeader="预留字段")
	private String ext;//预留字段
	@PoiHandler(excelHeader="预留字段1")
	private String ext1;//预留字段
	public Clock(Integer cid, String uid, String uname, String cstatus, String checkintime, String checkoutime,
			String ext, String ext1) {
		super();
		this.cid = cid;
		this.uid = uid;
		this.uname = uname;
		this.cstatus = cstatus;
		this.checkintime = checkintime;
		this.checkoutime = checkoutime;
		this.ext = ext;
		this.ext1 = ext1;
	}
	public Clock() {
		super();
	}
	public Integer getCid() {
		return cid;
	}
	public void setCid(Integer cid) {
		this.cid = cid;
	}
	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}
	public String getUname() {
		return uname;
	}
	public void setUname(String uname) {
		this.uname = uname;
	}
	public String getCstatus() {
		return cstatus;
	}
	public void setCstatus(String cstatus) {
		this.cstatus = cstatus;
	}
	public String getCheckintime() {
		return checkintime;
	}
	public void setCheckintime(String checkintime) {
		this.checkintime = checkintime;
	}
	public String getCheckoutime() {
		return checkoutime;
	}
	public void setCheckoutime(String checkoutime) {
		this.checkoutime = checkoutime;
	}
	public String getExt() {
		return ext;
	}
	public void setExt(String ext) {
		this.ext = ext;
	}
	public String getExt1() {
		return ext1;
	}
	public void setExt1(String ext1) {
		this.ext1 = ext1;
	}
	@Override
	public String toString() {
		return "Clock [cid=" + cid + ", uid=" + uid + ", uname=" + uname + ", cstatus=" + cstatus + ", checkintime="
				+ checkintime + ", checkoutime=" + checkoutime + ", ext=" + ext + ", ext1=" + ext1 + "]";
	}
	
	
	
}
